//
//  Activity.m
//  shise
//
//  Created by 毛志鹏 on 14/12/17.
//  Copyright (c) 2014年 MZP. All rights reserved.
//

#import "Activity.h"

@implementation Activity

// kvc纠错方法
- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"pic"]) {
        self.url = [value objectForKey:@"url"];
    }
//    else if ([key isEqualToString:@"detail"]) {
//        self.api = [value objectForKey:@"api"];
//    }
}



- (void)dealloc
{
    [_type release];
    [_url release];
    [_title release];
    [_desc release];
    [_api release];
    [super dealloc];
}
@end
